package application.chat;

public interface Constants {
	/**
	 * The delimiter in chat packets
	 */
	public static final char DELIMITER = '\07';
	/**
	 * The bitlength of a char
	 */
	public static final int CHAR_LENGTH = 16;
	/**
	 * The bitlength of the timestamp
	 */
	public static final int TIMESTAMP_LENGTH = 32;
	
	public static final int BYTE_LENGTH = 8;
	
	/**
	 * The charlength of the timestamp
	 */
	public static final int TIMESTAMP_CHAR_LENGTH = TIMESTAMP_LENGTH/CHAR_LENGTH;
	/**
	 * The bytelength of the timestamp
	 */
	public static final int TIMESTAMP_BYTE_LENGTH = TIMESTAMP_LENGTH/BYTE_LENGTH;
	/**
	 * The port used for the control connection
	 */
	public static final int CONTROL_PORT = 5555;
}
